package com.vue.admin.service.module.sys.entity;

import com.vue.admin.service.common.mybatis.entity.BaseEntity;

import javax.persistence.Table;

/**
 * @program: vue-admin-service
 * @description: 用户实体类
 * @author: zhangyangyang
 * @create: 2020-04-03 13:05
 **/
@Table(name = "user")
public class UserEntity extends BaseEntity<Integer> {
    private String account;
    private String password;
    private String name;
    private Integer status;
    private String header;

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getHeader() {
        return header;
    }

    public void setHeader(String header) {
        this.header = header;
    }

    public UserEntity() {
    }

    @Override
    public String toString() {
        return "UserEntity{" +
                "account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", name='" + name + '\'' +
                ", status='" + status + '\'' +
                ", header='" + header + '\'' +
                '}';
    }
}
